package tv.youxing.android.entity;

import java.util.List;

/**
 * Created by Administrator on 2017/6/22.
 * 视频播放界面评论界面
 */

public class ViewPlayerPingLunModel {


    /**
     * code : 200
     * result : {"current_page":1,"data":[{"comment_id":1,"content":"写的不错哦！","created_at":"2017-06-07 20:45:10","like_count":"0","publish_time":"1970-01-01","publish_user":{"avatar":"http://wx.qlogo.cn/mmopen/PHPS5peFIdaL5Zwmgp4LliciaufgZ0GQfnSCviakYSzHUvHgb0rDHxFTKd87zPtv7xNCpl7rGKlWthq9mS9GCjnIDz5wpickD9ibQ/0","fans_count":0,"follow_count":0,"user_id":10,"username":"清风自来"},"publish_user_id":10,"resource_id":51,"resource_type":1,"status":1,"updated_at":"2017-06-07 20:45:10"}],"per_page":10,"total":1,"total_page":1}
     * status : 成功
     */

    private int code;
    private ResultBean result;
    private String status;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public static class ResultBean {
        /**
         * current_page : 1
         * data : [{"comment_id":1,"content":"写的不错哦！","created_at":"2017-06-07 20:45:10","like_count":"0","publish_time":"1970-01-01","publish_user":{"avatar":"http://wx.qlogo.cn/mmopen/PHPS5peFIdaL5Zwmgp4LliciaufgZ0GQfnSCviakYSzHUvHgb0rDHxFTKd87zPtv7xNCpl7rGKlWthq9mS9GCjnIDz5wpickD9ibQ/0","fans_count":0,"follow_count":0,"user_id":10,"username":"清风自来"},"publish_user_id":10,"resource_id":51,"resource_type":1,"status":1,"updated_at":"2017-06-07 20:45:10"}]
         * per_page : 10
         * total : 1
         * total_page : 1
         */

        private int current_page;
        private int per_page;
        private int total;
        private int total_page;
        private List<DataBean> data;

        public int getCurrent_page() {
            return current_page;
        }

        public void setCurrent_page(int current_page) {
            this.current_page = current_page;
        }

        public int getPer_page() {
            return per_page;
        }

        public void setPer_page(int per_page) {
            this.per_page = per_page;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getTotal_page() {
            return total_page;
        }

        public void setTotal_page(int total_page) {
            this.total_page = total_page;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * comment_id : 1
             * content : 写的不错哦！
             * created_at : 2017-06-07 20:45:10
             * like_count : 0
             * publish_time : 1970-01-01
             * publish_user : {"avatar":"http://wx.qlogo.cn/mmopen/PHPS5peFIdaL5Zwmgp4LliciaufgZ0GQfnSCviakYSzHUvHgb0rDHxFTKd87zPtv7xNCpl7rGKlWthq9mS9GCjnIDz5wpickD9ibQ/0","fans_count":0,"follow_count":0,"user_id":10,"username":"清风自来"}
             * publish_user_id : 10
             * resource_id : 51
             * resource_type : 1
             * status : 1
             * updated_at : 2017-06-07 20:45:10
             */

            private int comment_id;
            private String content;
            private String created_at;
            private String like_count;
            private String publish_time;
            private PublishUserBean publish_user;
            private int publish_user_id;
            private int resource_id;
            private int resource_type;
            private int status;
            private String updated_at;
            private int is_like;

            public int getIs_like() {
                return is_like;
            }

            public void setIs_like(int is_like) {
                this.is_like = is_like;
            }

            public int getComment_id() {
                return comment_id;
            }

            public void setComment_id(int comment_id) {
                this.comment_id = comment_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getCreated_at() {
                return created_at;
            }

            public void setCreated_at(String created_at) {
                this.created_at = created_at;
            }

            public String getLike_count() {
                return like_count;
            }

            public void setLike_count(String like_count) {
                this.like_count = like_count;
            }

            public String getPublish_time() {
                return publish_time;
            }

            public void setPublish_time(String publish_time) {
                this.publish_time = publish_time;
            }

            public PublishUserBean getPublish_user() {
                return publish_user;
            }

            public void setPublish_user(PublishUserBean publish_user) {
                this.publish_user = publish_user;
            }

            public int getPublish_user_id() {
                return publish_user_id;
            }

            public void setPublish_user_id(int publish_user_id) {
                this.publish_user_id = publish_user_id;
            }

            public int getResource_id() {
                return resource_id;
            }

            public void setResource_id(int resource_id) {
                this.resource_id = resource_id;
            }

            public int getResource_type() {
                return resource_type;
            }

            public void setResource_type(int resource_type) {
                this.resource_type = resource_type;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public static class PublishUserBean {
                /**
                 * avatar : http://wx.qlogo.cn/mmopen/PHPS5peFIdaL5Zwmgp4LliciaufgZ0GQfnSCviakYSzHUvHgb0rDHxFTKd87zPtv7xNCpl7rGKlWthq9mS9GCjnIDz5wpickD9ibQ/0
                 * fans_count : 0
                 * follow_count : 0
                 * user_id : 10
                 * username : 清风自来
                 */

                private String avatar;
                private int fans_count;
                private int follow_count;
                private int user_id;
                private String username;
                private int is_authenticated;

                public int getIs_authenticated() {
                    return is_authenticated;
                }

                public void setIs_authenticated(int is_authenticated) {
                    this.is_authenticated = is_authenticated;
                }

                public String getAvatar() {
                    return avatar;
                }

                public void setAvatar(String avatar) {
                    this.avatar = avatar;
                }

                public int getFans_count() {
                    return fans_count;
                }

                public void setFans_count(int fans_count) {
                    this.fans_count = fans_count;
                }

                public int getFollow_count() {
                    return follow_count;
                }

                public void setFollow_count(int follow_count) {
                    this.follow_count = follow_count;
                }

                public int getUser_id() {
                    return user_id;
                }

                public void setUser_id(int user_id) {
                    this.user_id = user_id;
                }

                public String getUsername() {
                    return username;
                }

                public void setUsername(String username) {
                    this.username = username;
                }
            }
        }
    }
}
